From 1dc476954fc2731a418dcaeb650a749c2b595794 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 13 Jun 2008 03:21:09 +0000 Subject: [PATCH] Improve appearance of "both vertical" mode toolbuttons. Patch by Peter * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Improve appearance of "both vertical" mode toolbuttons. Patch by Peter Johanson svn path=/trunk/; revision=20365 --- ChangeLog | 9 +++++++++ gtk/gtktoolbutton.c | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1ac68d87af..56f6e8462f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2008-06-12 Matthias Clasen + + Bug 524222 – GtkToolbar with mix of buttons with and without + icons looks "bad" + + * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): + Improve appearance of "both vertical" mode toolbuttons. + Patch by Peter Johanson + 2008-06-12 Matthias Clasen Bug 519092 – Add accessibility support to GtkVolumeButton diff --git a/gtk/gtktoolbutton.c b/gtk/gtktoolbutton.c index a38da3ab31..21d6011880 100644 --- a/gtk/gtktoolbutton.c +++ b/gtk/gtktoolbutton.c @@ -433,7 +433,7 @@ gtk_tool_button_construct_contents (GtkToolItem *tool_item) box = gtk_vbox_new (FALSE, icon_spacing); if (icon) gtk_box_pack_start (GTK_BOX (box), icon, TRUE, TRUE, 0); - gtk_box_pack_start (GTK_BOX (box), label, FALSE, TRUE, 0); + gtk_box_pack_end (GTK_BOX (box), label, FALSE, TRUE, 0); gtk_container_add (GTK_CONTAINER (button->priv->button), box); break; -- 2.30.2